package com.crowntit.domain.order.model.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GroupBuyLockInfoEntity {
    /**
     * 初始价格
     */
    private BigDecimal originalPrice;

    /**
     * 折扣金额
     */
    private BigDecimal deductionPrice;

    /**
     * 折扣金额
     */
    private BigDecimal payPrice;

    /**
     * 团购服务的外部交易号
     */
    private String gbmOutTradeNo;

    /**
     * 是否团购下单：0不是，1是
     */
    private Integer isGroupBuy;

    /**
     * 团购服务的响应状态：NULL-非团购下单、SUCCESS_LOCK-锁单成功、SUCCESS_PAY-结算成功、EXCEPTION_LOCK-锁单异常、EXCEPTION_PAY-结算异常
     */
    private String groupBuyServiceResponseStatus;
}
